<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>员工信息修改</title>
<link href="../inc/cskt.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="../easyui/themes/default/easyui.css" />
<link rel="stylesheet" href="../easyui/themes/icon.css"/>

<script src="../easyui/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="../easyui/jquery.easyui.min.js" ></script>
<script src="../easyui/locale/easyui-lang-zh_CN.js"></script>
	<script>
			$(function (){
				$('#birthday').datebox({
					'required':true,
					'missingMessage':'出生日期必须有',
					'editable':false
				});
				$('#send').datetimebox({
					'required':true,
					'missingMessage':'出生日期必须有',
					'editable':false
				});
				
				$('#city').combobox({
					'url':'city.json',
					'valueField':'id',
					'textField':'cname'
				});
				$("#btn_save").click(function (){
					$('#ff').form('submit', {
						'url':'save.do',
						onSubmit: function(){
							if($('#ff').form('validate')){
								return true;
							}else{
								$.messager.alert('提示','表单校验未通过');
								return false;
							}
						},
						success:function(data){
							var data = $.parseJSON(data);
							$.messager.alert(data.title,data.message);
						}
					});
				});
			})
		</script>
</head>

<body bgcolor="#ebebeb">
<table width="100%"  border="0" align="left" cellpadding="0" cellspacing="0" bordercolor="#E2E2E1" bgcolor="#FFFFFF">
  <tr>
    <td width="100%" valign="top">
		<table width="100%" border="0" cellpadding="0" cellspacing="0" background="../images/m_mpbg.gif">
		          <tr>
		            <td class="place">员工信息修改</td>
		            <td>&nbsp;</td>
		            <td align="right">&nbsp;</td>
		          </tr>
		</table>  
			<table width="100%" border="0" cellpadding="6" cellspacing="1" bgcolor="#C0CCDD" id="content">
					 <tr>
				        <td height="36"><div align="right">姓名：</div></td>
				        <td height="36"><div align="left">王敏</div></td>
				        <td height="36"><div align="right">新姓名：</div></td>
				        <td colspan="3" class="gray">
				        	<form id="ff"  method="POST" action="artist_artistadd.do">
					        <input type="text" id="username" name="username" class="easyui-validatebox" required=true missingMessage='姓名必须填写' invalidMessage='地址长度在4~32个字符' validType='length[4,32]' />
					        <input type="submit" value ="提交">
					        </form>
				        </td>
				      </tr>
			         <tr>
				        <td height="36"><div align="right">电话：</div></td>
				        <td height="36"><div align="left">13456728973</div></td>
				        <td height="36"><div align="right">新电话：</div></td>
				        <td colspan="3" class="gray">
				        	<form id="ff"  method="POST" action="artist_artistadd.do">
					        <input type="text" id="username" name="username" class="easyui-validatebox" required=true missingMessage='姓名必须填写' invalidMessage='地址长度在4~32个字符' validType='length[4,32]' />
					        <input type="submit" value ="提交">
					        </form>
				        </td>
				      </tr>
				      <tr>
				        <td height="36"><div align="right">家庭地址：</div></td>
				        <td height="36"><div align="left">山东省济南市历下区大明湖路100号</div></td>
				        <td height="36"><div align="right">新地址：</div></td>
				        <td colspan="3" class="gray">
				        	<form id="ff"  method="POST" action="artist_artistadd.do">
					        <input type="text" id="username" name="username" class="easyui-validatebox" required=true missingMessage='姓名必须填写' invalidMessage='地址长度在4~32个字符' validType='length[4,32]' />
					        <input type="submit" value ="提交">
					        </form>
				        </td>
				      </tr>
				      <tr>
				        <td height="36"><div align="right">所处部门：</div></td>
				        <td height="36"><div align="left">济南转运中心</div></td>
				        <td height="36"><div align="right">部门修改：</div></td>
				        <td colspan="3" class="gray">
				        	<a href="../manager_all_dept/all_dept.jsp">部门选择</a>
				        </td>
				      </tr>
		  </table>
    </td>
  </tr>
  </table>
</body>
</html>
